<?php 
 mb_internal_encoding(“gb2312″);  // 这里的gb2312是你网站原来的编码   
    mb_http_output(“HTML-ENTITIES”);   
    ob_start(‘mb_output_handler’);  
include "header.php"; ?>
<style>
    *{margin:0;padding:0;}
    table td{overflow: hidden;width: 400px;border:1px solid #eee;}
</style>
<table>
    <?php while ($row = sqlsrv_fetch_array($rs)){ ?>
    <tr>  
        <td><?php echo $row[0]; ?></td><td><?php echo $row[1]; ?></td><td><?php echo $row[2]; ?></td>       
    </tr>
    <?php } ?>
</table>




<?php include "footer.php"; ?>
    
    

